<?php

/**
 * Created by PhpStorm.
 * User: li
 * Date: 15-12-17
 * Time: 下午8:14
 */
class Site_config extends MY_Admin_Model
{
    /**
     * @var string
     */
    protected $_table_name = 'site';

    public function __construct()
    {
        parent::__construct();
    }

    public function find_all(){
        $query = $this->db->get($this->_table_name);
        return $query->result_array();
    }
}